package org.dkakunsi.aplikasitoko.data.access;

import org.dkakunsi.aplikasitoko.data.util.ApplicationDataException;
import org.hibernate.Session;

public interface GeneralDataAccess {
	void save(Object object)throws ApplicationDataException;
	void update(Object object) throws Exception;
	void delete(Object object) throws Exception;
	Object getByID(String id) throws ApplicationDataException;
	Object getBy(String nama) throws Exception;
	Session getSession();
}
